package com.dotflat.safe.domain;

import com.dotflat.rest.domain.AreableObjectBase;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * *******************************
 * Created by Ron.
 * form com.matt
 * on 2017/7/13
 * *******************************
 */
@Entity
@Data
@Table(name = "tb_sterilization_target")
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@ApiModel("消毒和卫生检查目标")
public class SterilizationTarget extends AreableObjectBase {


    @Column(name = "name", columnDefinition = " varchar(50)  COMMENT '名称'", nullable = false)
    private String title;

    @Column(name = "remark", columnDefinition = " varchar(200)  COMMENT '描述'")
    private String remark;


}
